package com.haole.ecommercepay.refunds.service;

import com.alibaba.fastjson.JSONObject;
import com.haole.ecommercepay.refunds.entity.apply.RefundApplyParam;
import com.haole.ecommercepay.refunds.entity.query.QueryRefundsParam;

/**
 * @author haole
 */
public interface RefundsService {

    /**
     * 退款申请
     * @param param
     * @return
     */
    JSONObject refundApply(RefundApplyParam param);
    /**
     * 通过微信支付退款单号查询退款
     * @return
     */
    JSONObject refundId(QueryRefundsParam param);
    /**
     * 通过商户退款单号查询退款
     * @return
     */
    JSONObject outRefundNo(QueryRefundsParam param);
}
